package com.wd.mylibrary_base.bean

/**
 * 作者: 邢凌志
 * 时间: 2024/9/13
 * 描述:
 */

//登录
data class LoginBean(
    val message: String,
    val result: Result,
    val status: String
) {
    data class Result(
        val attentionSum: Int,
        val bankCardBindingStatus: Int,
        val fanSum: Int,
        val followWeChat: Int,
        val headPic: String,
        val nickName: String,
        val sessionId: String,
        val sex: Int,
        val userId: Int,
        val signature:String,
        val userLabelList: List<Any>,
        val verifiedStatus: Int,
        val workSum: Int
    )
}

//直播列表
data class LiveBean(
    val message: String,
    val result: List<Result>,
    val status: String
) {
    data class Result(
        val anchorId: Int,
        val follow: Int,
        val headPic: String,
        val liveCoverUrl: String,
        val liveId: Int,
        val liveStatus: Int,
        val liveTime: String,
        val liveTitle: String,
        val nickName: String
    )
}

//搜索
data class SearchBean(
    val message: String,
    val result: List<Result>,
    val status: String
) {
    data class Result(
        val anchorId: Int,
        val follow: Int,
        val headPic: String,
        val liveId: Int,
        val liveStatus: Int,
        val liveTitle: String,
        val nickName: String
    )
}

//观看直播
data class WatchBean(
    val message: String,
    val result: Result,
    val status: String
) {
    data class Result(
        val barrageWsUrl: String,
        val bridgeOverageNum: Int,
        val countPeopleWsUrl: String,
        val currentExperience: Int,
        val fansHeadPic: String,
        val fansList: List<Any>,
        val headPic: String,
        val liveId: Int,
        val liveStreamUrl: String,
        val magpieBridgeWsUrl: String,
        val nickName: String,
        val upgradeExperience: Int,
        val watchNumber: Int,
        val whetherFollow: Int,
        val whetherOpenbridge: Boolean
    )
}

//上传头像
data class HeadPicBean(
    val message: String,
    val result: String,
    val status: String
)

//检查实名认证
data class CheckBean(
    val message: String,
    val result: Result,
    val status: String
) {
    data class Result(
        val status: Boolean
    )
}

//修改签名
data class ChangeSignature(
    val message: String,
    val status: String
)

//星座匹配 列表

data class ConstellationListBean(
    val message: String,
    val result: List<Result>,
    val status: String
) {
    data class Result(
        val constellation: String,
        val constellationImage: String,
        val focusStatus: Int,
        val friendId: Int,
        val labelList: List<String>,
        val nickName: String,
        val personalImage: String,
        val sex: Int
    )
}

//关注or取消关注
data class AttentionBean(
    val message: String,
    val status: String
)

//
data class FindLeaderBoardBean(
    val message: String,
    val result: Result,
    val status: String
) {
    data class Result(
        val hotTopList: List<HotTop>,
        val newcomerTopList: List<NewcomerTop>
    ) {
        data class HotTop(
            val anchorId: Int,
            val fanSum: Int,
            val headPic: String,
            val liveId: Int,
            val liveStatus: Int,
            val liveVideoDuration: String,
            val liveVideoTime: String,
            val liveVideoTitle: String,
            val nickName: String,
            val personalImage: String,
            val rank: Int,
            val sex: Int,
            val weights: Double
        )

        data class NewcomerTop(
            val anchorId: Int,
            val fanSum: Int,
            val headPic: String,
            val liveId: Int,
            val liveStatus: Int,
            val liveVideoDuration: String,
            val liveVideoTime: String,
            val liveVideoTitle: String,
            val nickName: String,
            val rank: Int,
            val sex: Int,
            val weights: Double
        )
    }
}
//开启直播
data class OpenLiveBean(
    val liveData: LiveData,
    val message: String,
    val status: String
) {
    data class LiveData(
        val agoraToken: String,
        val channelName: String,
        val compositeWsUrl: String,
        val liveId: Int
    )
}
//关闭直播实体类
data class CloseLiveBean(
    val message: String,
    val result: Result,
    val status: String
) {
    data class Result(
        val commentNumber: Int,
        val fansNumber: Int,
        val fansTopList: List<Any>,
        val giftList: List<Any>,
        val liveTime: String,
        val nickName: String,
        val watchNumber: Int
    )
}
//推流
data class PutBean(
    val message: String,
    val status: String
)

//修改名称

data class ChangeNameBean(
    val message: String,
    val status: String
)

//查询我的信息
data class MyMessageBean(
    val message: String,
    val result: Result,
    val status: String
) {
    data class Result(
        val attentionSum: Int,
        val bankCardBindingStatus: Int,
        val constellation: String,
        val fanSum: Int,
        val followWeChat: Int,
        val headPic: String,
        val newUserFlag: Int,
        val nickName: String,
        val sessionId: String,
        val sex: Int,
        val signature: String,
        val userId: Int,
        val userLabelList: List<Any>,
        val verifiedStatus: Int,
        val workSum: Int
    )
}

//音乐列表
data class MusicBean(
    val message: String,
    val result: List<Result>,
    val status: String
) {
    data class Result(
        val cover: String,
        val duration: String,
        val musicLinks: String,
        val name: String,
        val singer: String,
        var isCheck:Boolean
    )
}